/**
 * 
 * 广州锐鹏计算机科技有限公司（www.ruipengkj.com）
 * 
 * 
 * Copyright (c) 2011-2012 RUIPENGKJ.Co.Ltd. All rights reserved.
 * 
 * */
package com.ruipengkj.component;
/**
 * 说明：
 * 绑定JRadioButton于ButtonGroup
 * @Author：黄盛强
 * @Date：2012-03-28
 */
import javax.swing.ButtonGroup;
import javax.swing.JRadioButton;

public class JRadioButtonButtonGroupComponent extends ButtonGroup {

	private static final long serialVersionUID = 1L;
	
	public JRadioButtonButtonGroupComponent(JRadioButton[] jradioButton) {
		init(jradioButton);
	}
	
	private void init(JRadioButton[] jradioButton) {
		for (int i = 0; i < jradioButton.length; ++i) {
			this.add(jradioButton[i]);
		}
	}
}
